class Person:
    def __init__(self):
        #初始化对象属性
        self.name = '旺财'
        self.hobby = '吃屎'


p1 = Person()
print(p1.name,end='要')
print(p1.hobby)
